
/* uapp.uximoney.com
uapi.uximoney.com */

console.log(process)
console.log(process.env.NODE_ENV)
let baseUrl = 'http://devapp.uximoney.com/index.php?s=/Home';
let pcUrl = 'http://new.p2p.com/';

/* if (process.env.NODE_ENV == 'development') {

}else  */
if (process.env.NODE_ENV === 'production') {
    baseUrl = 'http://uxapi.uximoney.com/index.php?s=/Home';  //pro
    //baseUrl = 'http://uapi.uximoney.com/index.php?s=/Home';  //dev
    pcUrl = 'http://www.uximoney.com/'
}

export {
    baseUrl,
    pcUrl
}


/* export const API_ROOT = (process.env.NODE_ENV === 'production')
    ? 'http://uxapi.uximoney.com'
    : 'http://devapp.uximoney.com'

export const CookieDomain = (process.env.NODE_ENV === 'production')
    ? '.uximoney.com'
    : ''
 */
//'http://uxapi.uximoney.com'
//http://api.uximoney.com 正式环境
//http://devapp.uximoney.com 测试环境
